package com.example.questionsystem.modules.qu.service;

import com.example.questionsystem.modules.qu.Vo.PackageVo;
import com.example.questionsystem.modules.qu.entity.ExtractionConfig;
import com.example.questionsystem.modules.qu.entity.ExtractionConfigDto;
import com.example.questionsystem.modules.qu.entity.PackageRequest;
import com.example.questionsystem.modules.qu.service.impl.TotalScoreMismatchException;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

public interface PackageService {

    void generateSession(PackageVo request) throws IOException;
    void generateSessionEncrypted(PackageVo requestData, HttpServletResponse response) throws Exception;
    void generateExamOldPackage(PackageRequest request, HttpServletResponse response) throws Exception;
    void generateExamOldFormalPackage(PackageRequest request, HttpServletResponse response) throws Exception;

    void generateUseCountPackage(ExtractionConfigDto requestData, HttpServletResponse response) throws IOException;
}
